package com.yutel.apk.tool.util;

import java.io.File;

public class ApkInfo {
	private File file;
	private String md5;
	private String packageName;
	private String versionName;
	private String versionCode;

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}

	public String getMd5() {
		return md5;
	}

	public void setMd5(String md5) {
		this.md5 = md5;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public String getVersionName() {
		return versionName;
	}

	public void setVersionName(String versionName) {
		this.versionName = versionName;
	}

	public String getVersionCode() {
		return versionCode;
	}

	public void setVersionCode(String versionCode) {
		this.versionCode = versionCode;
	}

	public String toString() {
		return file.getName() + ":[packageName=" + packageName
				+ ",versionName=" + versionName + ",versionCode=" + versionCode
				+ ",md5=" + md5 + "]";
	}
}
